package com.xjrsoft.module.customer.erp_model.erp_inventoryManage.vo;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.xjrsoft.common.Enum.TransDataType;
import com.xjrsoft.common.annotation.DataTrans;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author pp
 * @since 2021-10-19
 */
@Data
@ApiModel(value = "列表ErpInventoryVo对象", description = "列表ErpInventoryVo对象")
public class ErpInventoryListVo {

    @JsonProperty("F_Id")
    private String fId;

    @JsonProperty("F_GoodsId")
    private String fGoodsid;

    @JsonProperty("F_WarehouseId")
    private String fWarehouseid;

    @JsonProperty("F_BasicAmount")
    private BigDecimal fBasicamount;

    @JsonProperty("F_ComAmount")
    private BigDecimal fComamount;

    @JsonProperty("F_GoodsName")
    private String fGoodsname;

    @JsonProperty("F_BasicUnit")
    @DataTrans(dataType = TransDataType.DATA_SQL,dataCode = "localDB",sql = "select c.F_Id,c.F_FullName from erp_unitconvert c", savedField = "F_Id", showField = "F_FullName", multi = false)
    private String fBasicunit;

    @JsonProperty("F_ComUnit")
    @DataTrans(dataType = TransDataType.DATA_SQL,dataCode = "localDB",sql = "select c.F_Id,c.F_FullName from erp_unitconvert c", savedField = "F_Id", showField = "F_FullName", multi = false)
    private String fComunit;


    @JsonProperty("F_InUnit")
    @DataTrans(dataType = TransDataType.DATA_SQL,dataCode = "localDB",sql = "select c.F_Id,c.F_FullName from erp_unitconvert c", savedField = "F_Id", showField = "F_FullName", multi = false)
    private String fInunit;

    @JsonProperty("F_OutUnit")
    @DataTrans(dataType = TransDataType.DATA_SQL,dataCode = "localDB",sql = "select c.F_Id,c.F_FullName from erp_unitconvert c", savedField = "F_Id", showField = "F_FullName", multi = false)
    private String fOutunit;

    @JsonProperty("F_WerehouseName")
    private String fWerehousename;

    @JsonProperty("F_Address")
    private String fAddress;

    @JsonProperty("F_Telephone")
    private  String fTelephone;

    @JsonProperty("flowStatus")
    private String flowStatus;

    @JsonProperty("nwfSchemeinfoId")
    private String nwfSchemeinfoId;

    @JsonProperty("formId")
    private String formId;
}
